Ribbon for WinForms
TryGetValue メソッド (ObservableDictionary<TKey,TValue>)

C1.Win.4.8 アセンブリ > C1.Win.Collections.ObjectModel 名前空間 > ObservableDictionary<TKey,TValue> クラス : TryGetValue メソッド
The key whose value to get.
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Gets the value associated with the specified key.
シンタックス
'宣言
 
Public Function TryGetValue( _
   ByVal key As TKey, _
   ByRef value As TValue _
) As Boolean
public bool TryGetValue( 
   TKey key,
   out TValue value
)

パラメータ

key
The key whose value to get.
value
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

戻り値の型

true if the object that implements ObservableDictionary<TKey,TValue> contains an element with the specified key; otherwise, false.
参照

ObservableDictionary<TKey,TValue> クラス
ObservableDictionary<TKey,TValue> メンバ